package com.waves.design.command;


public class FunctionButton extends Command{
    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void click(){
        System.out.println("单机功能键：");
        command.execute();
    }

    @Override
    public void execute() {

    }
}
